package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/5
 */
@Data
@Entity
@ApiModel("风险管控记录表")
@Table(name = "risk_control_measure_record")
public class RiskControlMeasureRecord {

    @ApiModelProperty(value = "风险管控记录ID")
    @TableId(value = "record_id")
    @Id
    private String id;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "risk_id")
    @ApiModelProperty(value = "风险ID")
    private String riskId;

    @Column(name = "measure_id")
    @ApiModelProperty(value = "管控措施ID")
    private Date measureId;

    @Column(name = "control_dept_codes")
    @ApiModelProperty(value = "管控部门编码")
    private String controlDeptCodes;

    @Column(name = "risk_location_id")
    @ApiModelProperty(value = "风险点位置ID")
    private String riskLocationId;

    @Column(name = "control_dept_names")
    @ApiModelProperty(value = "管控部门名称")
    private String controlDeptNames;

    @Column(name = "control_person_codes")
    @ApiModelProperty(value = "管控人编码")
    private String controlPersonCodes;

    @Column(name = "control_person_names")
    @ApiModelProperty(value = "管控人名称")
    private String controlPersonNames;

    @Column(name = "control_check_result")
    @ApiModelProperty(value = "落实情况（码表）")
    private String controlCheckResult;

    @Column(name = "control_result_description")
    @ApiModelProperty(value = "落实情况说明")
    private String controlResultDescription;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
